import {createApp} from 'vue'
import App from './App.vue'
import {setupStore} from './store';
import {setupRouter} from './router'
import {useComponents} from "./components";
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import './styles/index.scss'
async function bootstrap() {
    const app = createApp(App);
    // app.config.performance=true
    app.use(ElementPlus)
    useComponents(app)
    // Configure store
    setupStore(app);
    // Configure routing
    setupRouter(app);
    app.mount('#app');

}

bootstrap();


